package com.ruoyi.business.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工艺文件明细对象 processcarddetail
 * 
 * @author DL
 * @date 2025-06-30
 */
@Data
public class Processcarddetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String ID;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonProperty("MainID")
    private String MainID;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonProperty("EquipmentID")
    private String EquipmentID;

    /** 参数码 */
    @Excel(name = "参数码")
    @JsonProperty("ParameterCode")
    private String ParameterCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonProperty("ParameterName")
    private String ParameterName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal RangeMinValue;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal RangeMaxValue;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonProperty("SetValue")
    private BigDecimal SetValue;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ParameterUnit;

    /** 默认为0，表示还未设定，设定后改为1 */
    @Excel(name = "默认为0，表示还未设定，设定后改为1")
    private Long SetFlag;

    @JsonProperty("ExecuteFlag")
    private Long ExecuteFlag;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("MainID", getMainID())
            .append("EquipmentID", getEquipmentID())
            .append("ParameterCode", getParameterCode())
            .append("ParameterName", getParameterName())
            .append("RangeMinValue", getRangeMinValue())
            .append("RangeMaxValue", getRangeMaxValue())
            .append("SetValue", getSetValue())
            .append("ParameterUnit", getParameterUnit())
            .append("SetFlag", getSetFlag())
            .toString();
    }
}
